package com.winning.sx.microframework.model.genericapi;

import com.winning.sx.microframework.model.manage.ServerManageModel;
import org.apache.commons.lang.StringUtils;


public class GenericApiServerInfo extends ServerManageModel implements ApiServer{

    @Override
    public boolean state() {
        if(StringUtils.equals("true",getState().trim()))return true;
        return false;
    }

    @Override
    public String serverType() {
        return getDomainName().trim();
    }
}
